const path = require('path');
module.exports = {
    entry: './xyy.js',
    module: {
        rules: [
            {
                test: /\.css$/,
                use: ['style-loader','css-loader']
            },
            {
                test: /\.scss$/,
                use: ['style-loader','css-loader','sass-loader']
            }
        ]
    },
    output: {
        filename: "pack.js",
        path: path.resolve(__dirname, './dist')
    },
    mode: "development"
};